<?php

namespace app\controller;

use support\Request;

class IndexController extends BaseController
{

    protected $noNeedLogin = ['index'];

    public function index(Request $request)
    {
        return $request->get('echostr', 'success1111');
    }

    public function view(Request $request)
    {
        return view('index/view', ['name' => 'webman']);
    }
}
